package com.joelaws.prototype.client.data;

import java.io.Serializable;

public class Message implements Serializable, Cloneable {

	private static final long serialVersionUID = 1L;

	private long fromUser;

	private long toUser;

	private String subject;

	private String body;

	public Message() {
	}

	public Message(long fromUser, long toUser, String subject, String body) {
		this.fromUser = fromUser;
		this.toUser = toUser;
		this.subject = subject;
		this.body = body;
	}

	public Message clone() {
		return new Message(fromUser, toUser, subject, body);
	}

	public long getFromUser() {
		return fromUser;
	}

	public void setFromUser(long fromUser) {
		this.fromUser = fromUser;
	}

	public long getToUser() {
		return toUser;
	}

	public void setToUser(long toUser) {
		this.toUser = toUser;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

}
